/**
 * Created with IntelliJ IDEA.
 * Description:
 * Date: 2024-01-29
 * Time:16:11
 */
public class Test {
    public static void main(String[] args) {
/*
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(1);
        myArrayList.add(2);
        myArrayList.add(2,1);
        myArrayList.add(3,3);
        myArrayList.add(1,5);
        myArrayList.add(0,0);
        myArrayList.add(6,7);
        myArrayList.add(7,2);
        myArrayList.add(0);
*/
/*
        myArrayList.display();
        boolean ret = myArrayList.contains(7);
        System.out.println(ret);
        boolean ret1 = myArrayList.contains(8);
        System.out.println(ret1);
        boolean ret2 = myArrayList.contains(0);
        System.out.println(ret2);
*/
/*
        myArrayList.display();
        myArrayList.removeAll(0);
        myArrayList.display();
*/
/*
        int a = 10;
        Integer integer = a;  //装箱
        System.out.println(integer);
*/
        int a = 10;
        Integer integer = new Integer(a);
        System.out.println(integer);

        Double d = Double.valueOf(20.0);
        System.out.println(d);

        int c = integer.intValue();
    }
}
